package com.base_java.pojo;

import java.util.Date;

public class Device {
    private Integer id;

    private String macId;

    private Long uuid;

    private String location;

    private String brand;

    private String model;

    private String macSystem;

    private String version;

    private String lastIp;

    private String type;

    private Integer templateId;

    private Integer hotelId;

    private Date createTime;

    private Date updateTime;

    private String extra;

    public Device(Integer id, String macId, Long uuid, String location, String brand, String model, String macSystem, String version, String lastIp, String type, Integer templateId, Integer hotelId, Date createTime, Date updateTime, String extra) {
        this.id = id;
        this.macId = macId;
        this.uuid = uuid;
        this.location = location;
        this.brand = brand;
        this.model = model;
        this.macSystem = macSystem;
        this.version = version;
        this.lastIp = lastIp;
        this.type = type;
        this.templateId = templateId;
        this.hotelId = hotelId;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.extra = extra;
    }

    public Device() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMacId() {
        return macId;
    }

    public void setMacId(String macId) {
        this.macId = macId == null ? null : macId.trim();
    }

    public Long getUuid() {
        return uuid;
    }

    public void setUuid(Long uuid) {
        this.uuid = uuid;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location == null ? null : location.trim();
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand == null ? null : brand.trim();
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model == null ? null : model.trim();
    }

    public String getMacSystem() {
        return macSystem;
    }

    public void setMacSystem(String macSystem) {
        this.macSystem = macSystem == null ? null : macSystem.trim();
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version == null ? null : version.trim();
    }

    public String getLastIp() {
        return lastIp;
    }

    public void setLastIp(String lastIp) {
        this.lastIp = lastIp == null ? null : lastIp.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public Integer getTemplateId() {
        return templateId;
    }

    public void setTemplateId(Integer templateId) {
        this.templateId = templateId;
    }

    public Integer getHotelId() {
        return hotelId;
    }

    public void setHotelId(Integer hotelId) {
        this.hotelId = hotelId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra == null ? null : extra.trim();
    }
}